std::function::operator=
From Cppreference
< cpp | utility | functional | function
| C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Utilities library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Function objects | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::function | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| function& operator=( const function& );
| (1) | (since C++11) |
| function& operator=( function&& );
| (2) | (since C++11) |
| function& operator=( nullptr_t );
| (3) | (since C++11) |
| template< class F >
function& operator=( F&& ); | (4) | (since C++11) |
| template< class F >
function& operator=( reference_wrapper<F> ); | (5) | (since C++11) |
| This section is incomplete |
Contents |
[edit] Parameters
| This section is incomplete |
[edit] Return value
*this
[edit] Exceptions
1-4) (none)
5)[edit] See also
| This section is incomplete Reason: assign |